class opt_feat
{
public:  
    inline opt_feat(const std::string  in_path, 
		    const std::string  in_actionNames, 
		    const std::string  in_feat_path,
		    const int in_col, 
		    const int in_row);
    
    
    inline void training();
    inline void testing();
    

    
double THRESH;
double THRESH_2;

const std::string path;
const std::string actionNames;
const std::string feat_path;

const int row;
const int col;

const int n_samples_tr; //# samples training
const int n_samples_te; //# samples testing

int  N_cent;

std::vector < vec > feat_video_i;
std::vector< mat > covs;
std::vector< uword > lab_covs;//labels


field<std::string> actions;
field<std::string> videos;



  private:
  //inline void feature_video(std::string one_video);
  inline void feature_video(std::string one_video, std::string labels_onevideo);
 
  
};